#include "tcpserver.hpp"
#include <memory>



int main(int argc, char* argv[])
{
    if(argc < 2)
    {
        exit(0);
    }
    int port = stoi(argv[1]);
    std::unique_ptr<TcpServer> server (new TcpServer(port)); 

    server->Init();
    server->Start();
    return 0;
}